﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Search.ascx.vb" Inherits="FrontEnd_Control_News_Search" %>
<%@ Import Namespace="Cls_Common" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="box-shadow padding-fix panel-corner">
            <div class="porlet-main">
                <!--title Intro -->
                <div class="row-titlemain row_subtitle">
                    <div class="text-titlemain">
                        <img src='<%=Maindomain + "images/icon_search.png" %>' border="0" align="absmiddle">
                        <asp:Literal ID="ltrCateName" runat="server"></asp:Literal></span></div>
                </div>
                <div style="width:100%;font-size:14px;color:Blue;">
                Tổng số
                <asp:Label ID="lblTotal2" runat="server" Text="0"></asp:Label> kết quả tìm thấy</div>
                <div class="text-content">
                    <asp:Repeater ID="rptNews" runat="server">
                        <ItemTemplate>
                            <div class="row_itemnewsNew">
                                <p class="title_news">
                                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink>
                                </p>
                                <%--<div class="desc_itemnews">
                                    <asp:HyperLink ID="hplImg" runat="server" border="0" align="left">
                                        <asp:Image ID="img" runat="server" />
                                    </asp:HyperLink>
                                </div>--%>
                                <%--<asp:Label ID="lblDate" runat="server" Text=""></asp:Label>
                                <br>--%>
                                <asp:Literal ID="ltrDes" runat="server"></asp:Literal>
                                <div style="height: 10px; clear: both;">
                                </div>
                                <%--<div class="more-articles">
                                    <asp:HyperLink ID="hplMore" runat="server">Xem chi tiết</asp:HyperLink>
                                    <img src="<%=ResolveUrl("~/images/icon_more.gif")%>" alt="" />
                                </div>--%>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <!-- paging -->
                <div style="width: 100%; float: left;">
                    <div id="results_resultsNavigationDiv" class="paginationEMP">
                        <asp:LinkButton ID="lnkFirst" Visible="false" runat="server"></asp:LinkButton>
                        <asp:Repeater ID="rptPage" runat="server">
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkTitle" CssClass="page_num" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:Repeater>
                        <asp:LinkButton ID="lnkLast" Visible="false" runat="server"></asp:LinkButton>
                    </div>
                </div>
                <!-- end paging -->
                <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                <asp:HiddenField ID="hidStoreId" Value="0" runat="server" />
                <asp:HiddenField ID="hidCateId" Value="0" runat="server" />
                <asp:HiddenField ID="hidIDMenu" Value="0" runat="server" />
                <!-- het phan trang -->
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
